package com.xm.myapplication.MVP.A;


import android.content.Context;

import com.xm.httpapi.BaseView.BaseModelInter;
import com.xm.myapplication.MVP.A.Model.LoginResult;
import com.xm.myapplication.MVP.A.Model.PwdLoginRequest;

/**
 * Created by dell on 2018/1/15.
 */

public interface IDemo {
    interface IModel extends BaseModelInter {
    }

    interface IPresenter {
        void load(PwdLoginRequest pwdLoginRequest);
        void load(PwdLoginRequest pwdLoginRequest, Context context);
    }

    interface IView {
        void setData(LoginResult loginResult)throws Exception;
        void error(String error)throws Exception;
    }
}
